<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <a href="#" class="brand">CRM</a>
        <div class="nav-collapse">
          <ul class="nav">
            <li class="${param.tag == 'home' ? 'active' : ''}">
            	<a href="home.jspx">概览</a></li>
            <li class="${param.tag == 'contact' ? 'active' : '' }">
            	<a href="contact.jspx">通讯录</a></li>
            <li class="${param.tag == 'task' ? 'active' : '' }">
            	<a href="task.jspx">任务</a></li>
            <li class="${param.tag == 'chance' ? 'active' : '' }">
            	<a href="#">机会</a></li>
           
            <li class="dropdown">
              <a data-toggle="dropdown" class="dropdown-toggle" href="#">最近访问 <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li class="divider"></li>
                <li class="nav-header">Nav header</li>
                <li><a href="#">Separated link</a></li>
              </ul>
            </li>
            
            <li class="dropdown">
              <a data-toggle="dropdown" class="dropdown-toggle" href="#">添加 <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="addContact.jspx"><i class="icon-user"></i>联系人</a></li>
                <li><a href="addCompany.jspx"><i class="icon-leaf"></i>公司</a></li>
                <li class="divider"></li>
                <li><a href="addTask.jspx"><i class="icon-flag"></i>任务</a></li>
                <li><a href="addChance.jspx"><i class="icon-gift"></i>机会</a></li>
              </ul>
            </li>
          </ul>
          <form action="#" class="navbar-search pull-left">
            <input type="text" placeholder="搜索联系人或机会" class="search-query span2">
          </form>
          <ul class="nav pull-right">
            <li><a href="#">搜索事件</a></li>
            <li class="divider-vertical"></li>
            <li class="dropdown">
              <a data-toggle="dropdown" class="dropdown-toggle" href="#"><s:property value="#session.user.name"/><b class="caret"></b></a>
              <ul class="dropdown-menu">
                  <li><a href="#"><i class="icon-th"></i>组</a></li>
                <li><a href="#"><i class="icon-user"></i>同事</a></li>
                <li class="divider"></li>
                <li><a href="#"><i class="icon-cog"></i>账号管理</a></li>
                <li><a href="#"><i class="icon-info-sign"></i>个人信息</a></li>
                <li class="divider"></li>
                <li><a href="#"><i class="icon-off"></i>注销</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.nav-collapse -->
      </div>
    </div><!-- /navbar-inner -->
</div>
